

<div id="header">
    <div class="topNav" style="background:#0a0">
        <div class="box">
	        <span class="fl"><div id="ddate"></div><div id="ddate2"></div>
			<script language="javascript">
                var ddate=document.getElementById("ddate");
                var ddate2=document.getElementById("ddate2");

                function updatedate(){
                    var dd1=new Date();
                    dd1.setMinutes(dd1.getMinutes()+dd1.getTimezoneOffset()-420); //取当地时间加上和格林威治的时差减要求地区和格林的时差分钟，这里是-300，代表美国东部纽约和格林的时差
                    //先设置setMinutes再取getHours才有效
                    var month = dd1.getMonth()+1;
                    //month =(month<10 ? "0"+month:month);
                    if(month < 10)
                    {
                        month = '0'+month.toString();
                    }
                    var date = dd1.getDate();
                    if(date < 10)
                    {
                        date = '0'+date.toString();
                    }
                    var hour = dd1.getHours();
                    if(hour < 10)
                    {
                        hour = '0'+hour.toString();
                    }
                    var minutes = dd1.getMinutes();
                    if(minutes < 10)
                    {
                        minutes = '0'+minutes.toString();
                    }
                    var seconds = dd1.getSeconds();
                    if(seconds < 10)
                    {
                        seconds = '0'+seconds.toString();
                    }
                    ddate.innerHTML='美国西部时间：'+dd1.getFullYear()+"年"+month+"月"+date+"日 "+hour+":"+minutes+":"+seconds;
                    var dd2=new Date();
                    dd2.setMinutes(dd2.getMinutes()+dd2.getTimezoneOffset()+13*60-300);//纽约和中国相差13个小时，夏天是12个小时所以这里加上13*60 夏天改为12*60
                    var month = dd2.getMonth()+1;
                    //month =(month<10 ? "0"+month:month);
                    if(month < 10)
                    {
                        month = '0'+month.toString();
                    }
                    var date = dd2.getDate();
                    if(date < 10)
                    {
                        date = '0'+date.toString();
                    }
                    var hour = dd2.getHours();
                    if(hour < 10)
                    {
                        hour = '0'+hour.toString();
                    }
                    var minutes = dd2.getMinutes();
                    if(minutes < 10)
                    {
                        minutes = '0'+minutes.toString();
                    }
                    var seconds = dd2.getSeconds();
                    if(seconds < 10)
                    {
                        seconds = '0'+seconds.toString();
                    }
                    ddate2.innerHTML='中国北京时间：'+ dd2.getFullYear()+"年"+month+"月"+date+"日 "+hour+":"+minutes+":"+seconds;
                    var t=setTimeout("updatedate()",1000);
                }
                updatedate();
            </script>
			</span>
            <span class="fr">客服电话：0000000</span>
        </div>
    </div>
    <div class="mainNav">
        <div class="box">
            <div class="logo"><a href="/" title="裕鸟国际货运"><img src="__PUBLIC__/Public/images/logo.png" alt="裕鸟国际货运" /></a></div>
            <div class="mainMenu">
                <ul>
                    <li><a href="/" target="_self">网站首页</a></li>
                    <li><a href="/company" target="_self">公司简介</a></li>
                    <li><a href="/news" target="_self">网站公告</a></li>
                    <li><a href="/help" target="_self">帮助中心</a></li>
                    <li><a href="/contactus" target="_self">联系我们</a></li>
                </ul>
                <dl class="buttons fr">
                    <if condition="$Think.session.users ==''">
                        <dd><a class="am-button-innerNav button-login" style="background:#0a0;" href="/login">登录</a></dd>
                        <dd><a class="am-button-innerNav button-register" style="color:#0a0" href="/register" target="_blank">注册</a></dd>
                        <else />
                        <dd><a class="am-button-innerNav button-login" style="background:#0a0;" href="/personage">个人中心</a></dd>
                        <dd><a class="am-button-innerNav button-register" style="color:#0a0" href="javascript:logout('<!--{$Think.session.users.account}-->');void(0)">退出</a></dd>
                    </if>
                </dl>
            </div>
        </div>
    </div>
</div>
<div id="banner">
    <link rel="stylesheet" type="text/css" href="__PUBLIC__/css/slider.css">
    <link rel="stylesheet" type="text/css" href="__PUBLIC__/css/default.css">
    <script type="text/javascript" src="__PUBLIC__/js/slider.js"></script>
    <div class="slider-wrapper theme-default">
        <div id="slider" style="margin:0 auto" class="nivoSlider">
            <a href="/" target="_blank" title="裕鸟国际货运为您服务"><img width="1367" height="400" src="__PUBLIC__/Public/images/lunbo2.jpg" alt="裕鸟国际货运为您服务"></a>
        </div>
    </div>
    <script type="text/javascript">
        function logout(t){
            var q = confirm("您好，【"+t+"】，确定要退出吗？");
            if(q == '0')
            {
                return false;
            }else{
                document.location.href="/login/quit/id/<!--{$Think.session.users.id}-->";
            }

        }

        var width = $(window).width();
        if (width > 1367) {
            width = 1367;
        }
        else if (width < 1000) {
            width = 1000;
        }
        //var percent = width/1590;
        //var height=526*percent;
        var height=400;
        $('#slider img').attr('width', width).attr('height', height);
        $('#slider').css('width', width).css('height', height);
        $(function () {
            $('#slider').nivoSlider();
        });
    </script>
</div>